﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<CollegeWebsite.Areas.Administrator.Models.StudentPreviousInfomation>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Index</h2>

    <table>
        <tr>
            <th></th>
            <th>
                PreviousInfomationID
            </th>
            <th>
                StudentID
            </th>
            <th>
                University
            </th>
            <th>
                EnrollmentNo
            </th>
            <th>
                Center
            </th>
            <th>
                Stream
            </th>
            <th>
                Field
            </th>
            <th>
                MarksSecured
            </th>
            <th>
                OutOfDate
            </th>
            <th>
                ClassObitained
            </th>
            <th>
                Status
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>
            <td>
                <%= Html.ActionLink("Edit", "Edit", new { id=item.PreviousInfomationID }) %> |
                <%= Html.ActionLink("Details", "Details", new { id=item.PreviousInfomationID })%> |
                <%= Html.ActionLink("Delete", "Delete", new { id=item.PreviousInfomationID })%>
            </td>
            <td>
                <%= Html.Encode(item.PreviousInfomationID) %>
            </td>
            <td>
                <%= Html.Encode(item.StudentID) %>
            </td>
            <td>
                <%= Html.Encode(item.University) %>
            </td>
            <td>
                <%= Html.Encode(item.EnrollmentNo) %>
            </td>
            <td>
                <%= Html.Encode(item.Center) %>
            </td>
            <td>
                <%= Html.Encode(item.Stream) %>
            </td>
            <td>
                <%= Html.Encode(item.Field) %>
            </td>
            <td>
                <%= Html.Encode(item.MarksSecured) %>
            </td>
            <td>
                <%= Html.Encode(String.Format("{0:g}", item.OutOfDate)) %>
            </td>
            <td>
                <%= Html.Encode(item.ClassObitained) %>
            </td>
            <td>
                <%= Html.Encode(item.Status) %>
            </td>
        </tr>
    
    <% } %>

    </table>

    <p>
        <%= Html.ActionLink("Create New", "Create") %>
    </p>

</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="TitleContentPlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ScriptIncludePlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="HeaderContentPlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="MenuContentPlaceHolder" runat="server">
</asp:Content>

<asp:Content ID="Content6" ContentPlaceHolderID="Sidebar1ContentPlaceHolder" runat="server">
</asp:Content>

